#ifndef BIOSAGELABEL_H
#define BIOSAGELABEL_H
#include <QtGui>
#include <QLabel>
#include <QWidget>
#include <QGraphicsScene>
#include <QPainter>
#include <QStyleOption>

class BioSageLabel : public QGraphicsWidget
{
    Q_OBJECT
public:
    BioSageLabel(QString text, QColor textColor, QGraphicsItem *parent = 0);
    BioSageLabel( const BioSageLabel & other );
    QRectF boundingRect() const;
    QPainterPath shape() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);

protected:


private:
    QString text;
    QColor color;
};

#endif // BIOSAGELABEL_H
